import express from 'express'
import { APP_PORT } from './config/index.js'
import router from './router/index.js'

const app = express()

app.use('/', router)
app.listen(APP_PORT, () => {
  console.log(`服务器在 ${APP_PORT} 端口启动 ~ `)
})